.product {
    width: 1000px;
    height: 850px;
    margin: 50px auto;
    border: 1px solid red;
}

/*产品展示4个字*/
.product > div:first-child > div:first-child {
    float: left;
    padding: 15px;
    height: 20px;
}

/*产品展示这一行*/
.product > div:first-child {
    color: #e69137;
    font-size: 20px;
    line-height: 20px;
    height: 50px;
    border-bottom: 1px solid red;

}

/*六大菜系的大的div*/
.product > div:first-child > div:last-child {
    float: right;
    /*display: flex;*/
    /*justify-items: center;*/
}

/*具体菜系*/
.product > div:first-child > div:last-child div {
    float: left;
    padding: 15px 10px;
    background-color: cadetblue;
}

.product > div:first-child > div:last-child div:hover {
    background-color: #e69137;
    color: white;
}

/*-------------------------具体产品--------------------------------------------*/
.product .product-detail {
    float: left;
    width: 220px;
    height: 320px;
}

.product > div:nth-child(2) {
    padding: 30px;
    height: 640px;
}

.product .product-detail > div:first-child {
    height: 220px;
}

.product .product-detail img {
    width: 100%;
    height: 100%;
}

.product .product-detail {
    margin-right: 15px;
    margin-bottom: 15px;
}

.product .product-detail span:last-child {
    color: red;
}

.product .product-detail > div:nth-child(2) > div:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product .product-detail > div:nth-child(2) > div:last-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}